<!DOCTYPE html>
<html lang="zh-CN">
 <head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <meta name="description" content="" />
  <meta name="author" content="" />
  <link rel="icon" href="./img/asset-favicon.ico" />
  <title>社交-问答</title>
  <!-- 页面 css js -->
  <!-- <script type="text/javascript" src="../../plugins/sui/sui.min.js"></script> -->
  <link rel="stylesheet" type="text/css" href="./plugins/normalize-css/normalize.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/yui/cssgrids-min.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/sui/sui.min.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/sui/sui-append.min.css" />
  <link rel="stylesheet" type="text/css" href="./plugins/font-awesome/css/font-awesome.min.css" />
  <link rel="stylesheet" type="text/css" href="./css/widget-base.css" />
  <link rel="stylesheet" type="text/css" href="./css/widget-head-foot.css" />
  <link rel="stylesheet" type="text/css" href="./css/page-sj-qa-login.css" />
 </head>
 <body>
  <div class="wrapper">
   <!--引用组件-->
   <!--头部导航-->
   <header>
    <div class="sui-navbar">
     <div class="navbar-inner">
      <a href="./headline-login.html" class="sui-brand"><img src="./img/asset-logo-black.png" alt="社交" /></a>
      <ul class="sui-nav">
       <li class="active"><a href="./headline-logined.html">头条</a></li>
       <li><a href="./qa-login.html">问答</a></li>
       <li><a href="./activity-index.html">活动</a></li>
       <li><a href="./makeFriends-index.html">交友</a></li>
       <li><a href="./spit-index.html">吐槽</a></li>
       <li><a href="./recruit-index.html">招聘</a></li>
      </ul>
      <form class="sui-form sui-form pull-left">
       <input type="text" placeholder="输入关键词..." />
       <span class="btn-search fa fa-search"></span>
      </form>
      <div class="sui-nav pull-right info">
       <li><a href="./person-register.html" target="_blank">注册</a></li>
       <li><a href="./person-loginsign.html" target="_blank" class="sui-btn btn-login">登录</a></li>
      </div>
     </div>
    </div>
   </header>
  </div>
  <div class="tab-nav ">
   <div class="wrapper">
    <ul class="fl sui-nav nav-tabs navbar-dark">
     <li class="active"><a href="#index" data-toggle="tab">首页</a></li>
     <li><a href="#php" data-toggle="tab">Php</a></li>
     <li><a href="#js" data-toggle="tab">Javascript </a></li>
     <li><a href="#python" data-toggle="tab">Python</a></li>
     <li><a href="#java" data-toggle="tab">Java</a></li>
    </ul>
    <span class="fr more"><a href="./qa-allTag.html" target="_blank">更多</a></span>
    <div class="clearfix"></div>
   </div>
  </div>
  <!--两列布局-->
  <div class="wrapper  qa-content" id="app">
   <div class="fl  left-list">
    <div class="tab-content">
     <div id="index" class="tab-pane active">
      <div class="tab-bottom-line">
       <ul class="sui-nav nav-tabs">
        <li class="active"><a href="#" @click="lasted_answer($event)" data-toggle="tab">最新回答</a></li>
        <li><a href="#" @click="popular_answer($event)" data-toggle="tab">热门回答</a></li>
        <li><a href="#" @click="waiting_answer($event)" data-toggle="tab">等待回答</a></li>
       </ul>
       <div class="qa-list">
        <div class="tab-content">
         <div id="new" class="tab-pane active">
          <ul class="detail-list" v-for="question in question_list">
           <li class="qa-item">
            <div class="fl record">
             <div class="number">
              <div class="border useful">
               <p class="usenum">{{ question.likes_count }}</p>
               <p>有用</p>
              </div>
              <div class="border answer">
               <p class="ansnum">{{ question.answer_count }}</p>
               <p>回答</p>
              </div>
             </div>
            </div>
            <div class="fl info">
             <div class="question">
              <p class="author"><span class="name">{{ question.answer_username }}</span><span v-if="question.answer_username">3分钟前回答</span></p>
              <p class="title"><a :href="'./qa-detail.html?id='+question.id" target="_blank">{{ question.title }}</a></p>
             </div>
             <div class="other">
              <ul class="fl sui-tag">
               <li>Php</li>
               <li>Javascript</li>
              </ul>
              <div class="fr brower">
               <p>浏览量 {{ question.hits }} | {{ handle_time(question.create_time) }} 来自 <a href="#">{{ question.question_username }} </a></p>
              </div>
             </div>
            </div>
            <div class="clearfix"></div> </li>
           <!--<li class="qa-item"> -->
            <!--<div class="fl record"> -->
             <!--<div class="number"> -->
              <!--<div class="border useful"> -->
               <!--<p class="usenum">12</p> -->
               <!--<p>有用</p> -->
              <!--</div> -->
              <!--<div class="border answer"> -->
               <!--<p class="ansnum">9</p> -->
               <!--<p>回答</p> -->
              <!--</div> -->
             <!--</div> -->
            <!--</div> -->
            <!--<div class="fl info"> -->
             <!--<div class="question"> -->
              <!--<p class="author"><span class="name">牛奶糖</span><span>3</span>分钟前回答</p> -->
              <!--<p class="title"><a href="./qa-detail.html" target="_blank">springMVC的controller接收json数据失败</a></p> -->
             <!--</div> -->
             <!--<div class="other"> -->
              <!--<ul class="fl sui-tag"> -->
               <!--<li>Php</li> -->
               <!--<li>Javascript</li> -->
              <!--</ul> -->
              <!--<div class="fr brower"> -->
               <!--<p>浏览量 50 | 2017-07-05 15:09 来自 <a href="#">毕鹏 </a></p> -->
              <!--</div> -->
             <!--</div> -->
            <!--</div> -->
            <!--<div class="clearfix"></div> </li> -->
           <!--<li class="qa-item"> -->
            <!--<div class="fl record"> -->
             <!--<div class="number"> -->
              <!--<div class="border useful"> -->
               <!--<p class="usenum">12</p> -->
               <!--<p>有用</p> -->
              <!--</div> -->
              <!--<div class="border answer"> -->
               <!--<p class="ansnum">9</p> -->
               <!--<p>回答</p> -->
              <!--</div> -->
             <!--</div> -->
            <!--</div> -->
            <!--<div class="fl info"> -->
             <!--<div class="question"> -->
              <!--<p class="author"><span class="name">大白兔</span><span>3</span>分钟前回答</p> -->
              <!--<p class="title"><a href="./qa-detail.html" target="_blank">监听器中timer查询数据库</a></p> -->
             <!--</div> -->
             <!--<div class="other"> -->
              <!--<ul class="fl sui-tag"> -->
               <!--<li>Php</li> -->
               <!--<li>Javascript</li> -->
              <!--</ul> -->
              <!--<div class="fr brower"> -->
               <!--<p>浏览量 50 | 2017-07-05 15:09 来自 <a href="#">毕鹏 </a></p> -->
              <!--</div> -->
             <!--</div> -->
            <!--</div> -->
            <!--<div class="clearfix"></div> </li> -->
           <!--<li class="qa-item"> -->
            <!--<div class="fl record"> -->
             <!--<div class="number"> -->
              <!--<div class="border useful"> -->
               <!--<p class="usenum">34</p> -->
               <!--<p>有用</p> -->
              <!--</div> -->
              <!--<div class="border answer"> -->
               <!--<p class="ansnum">9</p> -->
               <!--<p>回答</p> -->
              <!--</div> -->
             <!--</div> -->
            <!--</div> -->
            <!--<div class="fl info"> -->
             <!--<div class="question"> -->
              <!--<p class="author"><span class="name">luckness</span><span>3</span>分钟前回答</p> -->
              <!--<p class="title"><a href="./qa-detail.html" target="_blank">服务器上安装了一个考试系统ASP.NET,安装完成后访问不了，求助</a></p> -->
             <!--</div> -->
             <!--<div class="other"> -->
              <!--<ul class="fl sui-tag"> -->
               <!--<li>Php</li> -->
               <!--<li>Javascript</li> -->
              <!--</ul> -->
              <!--<div class="fr brower"> -->
               <!--<p>浏览量 50 | 2017-07-05 15:09 来自 <a href="#">毕鹏 </a></p> -->
              <!--</div> -->
             <!--</div> -->
            <!--</div> -->
            <!--<div class="clearfix"></div> </li> -->
           <!--<li class="qa-item"> -->
            <!--<div class="fl record"> -->
             <!--<div class="number"> -->
              <!--<div class="border useful"> -->
               <!--<p class="usenum">12</p> -->
               <!--<p>有用</p> -->
              <!--</div> -->
              <!--<div class="border answer"> -->
               <!--<p class="ansnum">9</p> -->
               <!--<p>回答</p> -->
              <!--</div> -->
             <!--</div> -->
            <!--</div> -->
            <!--<div class="fl info"> -->
             <!--<div class="question"> -->
              <!--<p class="author"><span class="name">牛奶糖</span><span>3</span>分钟前回答</p> -->
              <!--<p class="title"><a href="./qa-detail.html" target="_blank">springMVC的controller接收json数据失败</a></p> -->
             <!--</div> -->
             <!--<div class="other"> -->
              <!--<ul class="fl sui-tag"> -->
               <!--<li>Php</li> -->
               <!--<li>Javascript</li> -->
              <!--</ul> -->
              <!--<div class="fr brower"> -->
               <!--<p>浏览量 50 | 2017-07-05 15:09 来自 <a href="#">毕鹏 </a></p> -->
              <!--</div> -->
             <!--</div> -->
            <!--</div> -->
            <!--<div class="clearfix"></div> </li> -->
           <!--<li class="qa-item"> -->
            <!--<div class="fl record"> -->
             <!--<div class="number"> -->
              <!--<div class="border useful"> -->
               <!--<p class="usenum">12</p> -->
               <!--<p>有用</p> -->
              <!--</div> -->
              <!--<div class="border answer"> -->
               <!--<p class="ansnum">9</p> -->
               <!--<p>回答</p> -->
              <!--</div> -->
             <!--</div> -->
            <!--</div> -->
            <!--<div class="fl info"> -->
             <!--<div class="question"> -->
              <!--<p class="author"><span class="name">大白兔</span><span>3</span>分钟前回答</p> -->
              <!--<p class="title"><a href="./qa-detail.html" target="_blank">监听器中timer查询数据库</a></p> -->
             <!--</div> -->
             <!--<div class="other"> -->
              <!--<ul class="fl sui-tag"> -->
               <!--<li>Php</li> -->
               <!--<li>Javascript</li> -->
              <!--</ul> -->
              <!--<div class="fr brower"> -->
               <!--<p>浏览量 50 | 2017-07-05 15:09 来自 <a href="#">毕鹏 </a></p> -->
              <!--</div> -->
             <!--</div> -->
            <!--</div> -->
            <!--<div class="clearfix"></div> </li> -->
          </ul>
          <!-- 分页 -->
          <div class="sui-pagination">
           <ul>
            <li class="prev" v-show="previous" @click="on_page(previous)"><a >上一页</a></li>
            <li v-for="num in page_nums" @click="on_page(num)" :class="num==page?'active':''"><a>{{ num }}</a></li>
            <li class="next" v-show="next" @click="on_page(next)"><a>下一页</a></li>
           </ul>
          </div>
         </div>
         <!-- 分页 -->
         <div id="hot" class="tab-pane">
          <p>热门回答</p>
         </div>
         <div id="wait" class="tab-pane">
          <p>等待回答</p>
         </div>
        </div>
       </div>
      </div>
     </div>
     <div id="php" class="tab-pane">
       php
     </div>
     <div id="js" class="tab-pane">
       Javascript
     </div>
     <div id="python" class="tab-pane">
       python
     </div>
     <div id="java" class="tab-pane">
       java
     </div>
    </div>
   </div>
   <div class="fl  right-tag">
    <!-- 小登录口 -->
    <div class="qa-login">
     <p>猿圈儿问答社区 帮助他人手留余香</p>
     <form action="" class="sui-form">
      <div class="control-group">
       <label for="inputaccount" class="control-label">手机号或Email</label>
       <div class="controls">
        <input type="text" v-model="mobile" @blur="check_mobile" id="inputaccount" placeholder="11位手机号 或 Email" />
        <div v-show="error_username" class="user_error" v-cloak>{{ error_user_message }}</div>
       </div>
      </div>
      <div class="control-group">
       <label for="inputaccount" class="control-label"> <span class="fl">密码</span> <span class="fr">忘记密码</span> </label>
       <div class="controls">
        <input type="password" v-model="password" @blur="check_pwd" id="inputaccount" placeholder="不少于6位" />
        <div v-show="error_pwd" class="pwd_error" v-cloak>{{ error_pwd_message }}</div>
       </div>
      </div>
      <div class="control-group">
       <label for="" class="fl radio-circle checked"> <input type="checkbox" v-model="remember" checked="checked" name="radio1" /><span>记住登录状态</span> </label>
       <div class="fr controls">
        <a class="sui-btn btn-login" @click="on_submit" target="_blank">登录</a>
       </div>
       <div class="clearfix"></div>
      </div>
     </form>
     <p>还没账号？立即<a href="./person-register.html" target="_blank">注册</a></p>
    </div>
      <!-- 小登录口 -->
   </div>
   <div class="clearfix"></div>
  </div>
  <div class="footer">
   <div class="wrapper">
    <div class="footer-bottom">
     <div class="link">
      <dl>
       <dt>
        网站相关
       </dt>
       <dd>
        关于我们
       </dd>
       <dd>
        服务条款
       </dd>
       <dd>
        帮助中心
       </dd>
       <dd>
        编辑器语法
       </dd>
      </dl>
      <dl>
       <dt>
        常用链接
       </dt>
       <dd>
        传智播客
       </dd>
       <dd>
        传智论坛
       </dd>
      </dl>
      <dl>
       <dt>
        联系我们
       </dt>
       <dd>
        联系我们
       </dd>
       <dd>
        加入我们
       </dd>
       <dd>
        建议反馈
       </dd>
      </dl>
      <dl>
       <dt>
        关注我们
       </dt>
       <dd>
        微博
       </dd>
       <dd>
        twitter
       </dd>
      </dl>
      <div class="xuke">
       <h3>内容许可</h3>
       <p>除特别说明外，用户内容均采用知识共享署名-非商业性使用-禁止演绎4.0 国际许可协议 (CC BY-NC-ND 4.0) 进行许可</p>
       <p>本站由 传智研究院 提供更新服务</p>
      </div>
     </div>
     <p class="Copyright">Copyright &copy; 2017 传智问答社区 当前版本 0.0.1</p>
    </div>
   </div>
  </div>
 </body>
<script type="text/javascript" src="js/host.js"></script>
<script type="text/javascript" src="js/vue-2.5.16.js"></script>
<script type="text/javascript" src="js/axios-0.18.0.min.js"></script>
<script type="text/javascript" src="js/qa-login.js"></script>
</html>